/* Copyright (c) 2016-2020 Enfry Ltd. All Rights Reserved.
 * 
 * This software is the confidential and proprietary information of Enfry. 
 * You shall not disclose such Confidential Information
 * and shall use it only in accordance with the terms of the agreements
 * you entered into with Enfry.
 */
package com.enfry.common.util.constants;

/**
 * 
 * 枚举常量定义
 * @Title com.enfry.util.constants.EnumConstants
 * @author Penghu
 * @date 2016年11月22日
 */
public interface EnumConstants
{
    /** 星期，星期天=1，在数组下标为0的增加一个星期六 */
    public static final String[] WEEKS          = {"Sat", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"};
    
    /** 月份，一月=0，十二月=11 */
    public static final String[] MONTHS         = {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"};
    
    /** 人民币0-9 */
    public static final String[] RMB_NUM        = {"零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖"};
    
    /** 人民币单位 */
    public static final String[] RMB_UNIT       = {"圆", "拾", "佰", "仟", "万", "拾", "佰", "仟", "亿", "拾","佰", "仟"};
    
    /** 人民币小数单位 */
    public static final String[] RMB_DEC        = {"角", "分"};
    
    /** 定义12个月份对应的天数 */
    public static final int[] DAYS_IN_MONTH     = {31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
    
    /** 子网掩码字段允许的值 */
    public static final String[] IP_MASK_VALUE  = {"255", "254", "252", "248", "240", "224", "192", "128", "0"};
    
    /** 33个全子网掩码值 */
    public static final String[] IP_MASK        = {"0.0.0.0",        "128.0.0.0",       "192.0.0.0",        "224.0.0.0",        "240.0.0.0",        "248.0.0.0",        "252.0.0.0",        "254.0.0.0",  
                                                   "255.0.0.0",      "255.128.0.0",     "255.192.0.0",      "255.224.0.0",      "255.240.0.0",      "255.248.0.0",      "255.252.0.0",      "255.254.0.0",     
                                                   "255.255.0.0",    "255.255.128.0",   "255.255.192.0",    "255.255.224.0",    "255.255.240.0",    "255.255.248.0",    "255.255.252.0",    "255.255.254.0",
                                                   "255.255.255.0",  "255.255.255.128", "255.255.255.192",  "255.255.255.224",  "255.255.255.240",  "255.255.255.248",  "255.255.255.252",  "255.255.255.254",
                                                   "255.255.255.255"};
}
